<?php
/**
 * Created by PhpStorm.
 * User: ruma
 * Date: 2019/1/17
 * Time: 12:26
 */

namespace app\common\controller;


class AdminBaseController extends BaseController
{
    protected function match(){
        if (!session('admin_name')){
            $this->redirect('admin/Login/login');
        }
    }
}